<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>药单管理</title>
</head>
<body>
	
			<table style="width: 100%; height: 40%;padding:1px">
				<tr>
					<td style="padding-left:20px"><a class="easyui-linkbutton"
						data-options="iconCls:'icon-edit'" id="all_prescription_list">所有处方单</a>
					</td>
					<td>
						<span>处方单:</span>
						<select class="easyui-combobox" data-options="panelHeight:'auto',width:200">
							<option>未处理</option>
							<option>以处理</option>
						</select>
					</td>
					<td style="text-align:right">
					<span>患者姓名:</span>
						<input id="sb"
							 class="easyui-searchbox" 
							 data-options="width:'300px',
							 	prompt:'请输入病人姓名'
								"/>
						 
					</td>
				</tr>
				<tr>
					<td style="padding-left:20px">
						<span>性别:</span>
						<select class="easyui-combobox"  style="width:200px;" data-options="panelHeight:'auto'">   
						    <option >男</option>   
						    <option >女</option>   
						</select>  
					</td>
					<td>
						<span>开始时间：</span>
						<input   type= "text" class= "easyui-datebox" required ="required"> </input>   
					</td>
					<td style="text-align:right">
						<span>结束时间：</span>
						<input   type= "text" class= "easyui-datebox" required ="required"> </input>   
					</td>
				</tr>
				<tr>
					<td style="text-align:right;" colspan=3>
						<a class="easyui-linkbutton" data-options="iconCls:'icon-search'">查询</a>
					</td>
				</tr>
			</table>
			<!-- 
			处方单、药品详细单
		 -->
			<table id="all_prescription_" style="width: 100%; height: 60%"
				title="所有处方单"
				data-options="
					rownumbers:true,
					singleSelect:true,
					autoRowHeight:false,
					pageSize:50,
					fitColumns:true,
					closable:true,
					" class="easyui-datagrid">
				<thead>
					<tr>
						<th field="prescription_code" width="80" align="center">处方单编号</th>
						<th field="prescription_type" width="100">处方类型</th>
						<th field="prescription_date" width="130" >处方日期</th>
						<th field="prescription_menzhen_code" width="80" align="center">门诊号</th>
						<th field="prescription_patient_name" width="130" >病人姓名</th>
						<th field="prescription_sex" width="90" align="center">性别</th>
						<th field="prescription_note" width="200" >医嘱</th>
						<th field="prescription_doctor_name" width="130">处方医生</th>
					</tr>
				</thead>
			</table>
		<script>
			$(function(){
				$("#all_prescription_list").linkbutton({onClick:function(){
					$("#all_prescription_").datagrid({
						open:function(forceOpen){
							return true;
					}});
				}});
				 
			});
		</script>
		
</body>
</html>